package cn.iocoder.yudao.module.member.convert.job;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.member.api.job.dto.JobRespDTO;
import cn.iocoder.yudao.module.member.dal.dataobject.job.MemberCompanyJobDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.member.controller.admin.job.vo.*;
import cn.iocoder.yudao.module.member.dal.dataobject.job.MemberJobDO;

/**
 * 招聘职位 Convert
 *
 * @author 谭万全
 */
@Mapper
public interface MemberJobConvert {

    MemberJobConvert INSTANCE = Mappers.getMapper(MemberJobConvert.class);

    MemberJobDO convert(MemberJobCreateReqVO bean);

    MemberJobDO convert(MemberJobUpdateReqVO bean);

    MemberJobRespVO convert(MemberJobDO bean);

    MemberJobDO convert(EnterpriseJobImputReqVO bean);

    JobRespDTO convert1(MemberJobDO bean);

    List<MemberJobRespVO> convertList(List<MemberJobDO> list);

    PageResult<MemberJobRespVO> convertPage(PageResult<MemberJobDO> page);

    PageResult<JobRespDTO> convertPage1(PageResult<MemberJobDO> page);


    List<MemberJobExcelVO> convertList02(List<MemberJobDO> list);

    List<JobRespDTO> convertList1(List<MemberJobDO> list);

    List<JobRespDTO> convertList2(List<MemberCompanyJobDO> list);
}
